<?php
if (isset($user)) {
	$data = array('user' => $user);
} else {
	$data = array();
}
$this->load->view('header',$data);
echo $content;
$this->load->view('footer');